package com.company.java.basic.Butn_TextFactory;

public class LinuxFactory implements AbstractFactory {
    @Override
    public Button createButton() {
        Button button = new LinuxButton();
        return button;
    }

    @Override
    public Text createText() {
        Text text = new LinuxText();
        return text;
    }
}
